package a4;

public class Payment {
    protected double amount;

    // Constructors, getters, and setters
    public Payment(double amount) {
        this.amount = amount;
    }

    // Getters and Setters
    public double getAmount() { return amount; }
    public void setAmount(double amount) { this.amount = amount; }
}
